$OpenBSD: patch-src_goocanvas_src_Makefile_in,v 1.8 2014/06/02 12:31:44 ajacoutot Exp $

We need the bundled libgoocanvas because the one in ports misses some
functions. However, we need to rename it to prevent undefined refs.

--- src/goocanvas/src/Makefile.in.orig	Sat May 31 20:14:18 2014
+++ src/goocanvas/src/Makefile.in	Mon Jun  2 13:41:24 2014
@@ -138,7 +138,7 @@ am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 am__v_lt_0 = --silent
 am__v_lt_1 = 
 libgoocanvas_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
-	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) -avoid-version \
 	$(AM_CFLAGS) $(CFLAGS) $(libgoocanvas_la_LDFLAGS) $(LDFLAGS) \
 	-o $@
 AM_V_P = $(am__v_P_@AM_V@)
@@ -400,7 +400,7 @@ AM_CPPFLAGS = \
 	-DG_LOG_DOMAIN=\"GooCanvas\" \
 	@GCOMPRIS_CFLAGS@
 
-lib_LTLIBRARIES = libgoocanvas.la
+lib_LTLIBRARIES = libgoocanvas-gc.la
 libgoocanvas_la_LIBADD = @GCOMPRIS_LIBS@ $(INTLLIBS)
 @PLATFORM_WIN32_TRUE@no_undefined = -no-undefined
 libtool_opts = \
@@ -543,7 +543,7 @@ clean-libLTLIBRARIES:
 	  rm -f $${locs}; \
 	}
 
-libgoocanvas.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES) $(EXTRA_libgoocanvas_la_DEPENDENCIES) 
+libgoocanvas-gc.la: $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_DEPENDENCIES) $(EXTRA_libgoocanvas_la_DEPENDENCIES) 
 	$(AM_V_CCLD)$(libgoocanvas_la_LINK) -rpath $(libdir) $(libgoocanvas_la_OBJECTS) $(libgoocanvas_la_LIBADD) $(LIBS)
 
 mostlyclean-compile:
